package com.esteel.settlement.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the TB_SETT_FREEZE database table.
 * 
 */
@Entity
@Table(name="TB_SETT_FREEZE")
@NamedQuery(name="TbSettFreeze.findAll", query="SELECT t FROM TbSettFreeze t")
public class TbSettFreeze implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="TB_SETT_FREEZE_FRID_GENERATOR", sequenceName="SEQ_SETT_FREEZE",allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="TB_SETT_FREEZE_FRID_GENERATOR")
	@Column(name="FR_ID")
	private long frId;

	@Column(name="CCY_CODE")
	private String ccyCode;

	@Column(name="CUST_ACCT_ID")
	private String custAcctId;

	@Column(name="FUNC_FLAG")
	private int funcFlag;

	@Column(name="LOG_NO")
	private String logNo;

	private String note;

	private String reserve;

	@Column(name="SUP_ACCT_ID")
	private String supAcctId;

	@Column(name="THIRD_CUST_ID")
	private String thirdCustId;

	@Column(name="THIRD_HT_ID")
	private String thirdHtId;

	@Column(name="TRAN_AMOUNT")
	private double tranAmount;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="TRAN_DATE")
	private Date tranDate;

	public TbSettFreeze() {
	}

	public long getFrId() {
		return this.frId;
	}

	public void setFrId(long frId) {
		this.frId = frId;
	}

	public String getCcyCode() {
		return this.ccyCode;
	}

	public void setCcyCode(String ccyCode) {
		this.ccyCode = ccyCode;
	}

	public String getCustAcctId() {
		return this.custAcctId;
	}

	public void setCustAcctId(String custAcctId) {
		this.custAcctId = custAcctId;
	}

	public int getFuncFlag() {
		return this.funcFlag;
	}

	public void setFuncFlag(int funcFlag) {
		this.funcFlag = funcFlag;
	}

	public String getLogNo() {
		return this.logNo;
	}

	public void setLogNo(String logNo) {
		this.logNo = logNo;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getReserve() {
		return this.reserve;
	}

	public void setReserve(String reserve) {
		this.reserve = reserve;
	}

	public String getSupAcctId() {
		return this.supAcctId;
	}

	public void setSupAcctId(String supAcctId) {
		this.supAcctId = supAcctId;
	}

	public String getThirdCustId() {
		return this.thirdCustId;
	}

	public void setThirdCustId(String thirdCustId) {
		this.thirdCustId = thirdCustId;
	}

	public String getThirdHtId() {
		return this.thirdHtId;
	}

	public void setThirdHtId(String thirdHtId) {
		this.thirdHtId = thirdHtId;
	}

	public double getTranAmount() {
		return this.tranAmount;
	}

	public void setTranAmount(double tranAmount) {
		this.tranAmount = tranAmount;
	}

	public Date getTranDate() {
		return this.tranDate;
	}

	public void setTranDate(Date tranDate) {
		this.tranDate = tranDate;
	}

}